Skip to content

DataFrameReader.json

DataFrameReader.json(
    path: str | pathlib.Path | list[str | pathlib.Path],
    schema: str | pyspark_dubber.sql.types.StructType | None = None,
    *args,
    **kwargs,
)

PySpark API Reference

Incompatibility Note

Most parameters are accepted but completely ignored.

The path cannot be a RDD like in pyspark for now. Schema is only supported as a StructType, DLL strings are unsupported.